﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Artech.Common
{
    public static class StringExtensions
    {
        public static object ToDbParameterValue(this string parameterValue)
        {
            if (string.IsNullOrEmpty(parameterValue))
            {
                return DBNull.Value;
            }
            return parameterValue;
        }
    }
}
